<template>
  <router-view />
</template>

<script setup lang="ts">
import BaseLayout from '@/layouts/BaseLayout.vue'
</script>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f7fa;
  color: #303133;
}

.el-container {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  min-height: 100vh;
}

.el-header {
  background: linear-gradient(135deg, #409EFF 0%, #36D1DC 100%);
  color: white;
  padding: 0 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.el-main {
  padding: 20px;
  background-color: #fff;
}

.el-footer {
  text-align: center;
  color: #909399;
  padding: 20px;
  background-color: #f5f7fa;
  border-top: 1px solid #ebeef5;
}

.tool-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
}

.tool-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  position: relative;
}

.input-actions {
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.output-actions {
  position: absolute;
  bottom: 25px;
  right: 25px;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.action-button {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dcdfe6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-button:hover {
  background: #409EFF;
  color: white;
  border-color: #409EFF;
}

.el-input {
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.el-input:hover {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.el-button {
  min-width: 100px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.el-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.el-card {
  border: none;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.el-card:hover {
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
}

.el-tabs__item {
  font-size: 15px;
  padding: 0 20px;
  transition: all 0.3s ease;
}

.el-tabs__item.is-active {
  font-weight: 600;
  transform: scale(1.05);
}

.el-tabs__active-bar {
  height: 3px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .el-main {
    padding: 10px;
  }
  
  .tool-container {
    padding: 10px;
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .el-button {
    width: 100%;
  }
}
</style> 